package com.example.visitedsys.impl;

import com.example.visitedsys.mapper.InfocountMapper;
import com.example.visitedsys.pojo.Infocount;
import com.example.visitedsys.service.InfocountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author  SongPeng
 * @date  2021/11/21 15:36
 * @version 1.0
 */

@Service
public class InfocountServiceImpl implements InfocountService {
    @Autowired
    private InfocountMapper infocountMapper;
    @Override
    public List<Infocount> findAll() {
        return infocountMapper.selectAll();
    }
}
